package com.es.easystoragesimulatedata.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 工单状态数据模型
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "工单状态数据模型")
public class WorkOrderStatus {
    
    @JsonProperty("totalOrders")
    @Schema(description = "工单总数", example = "143")
    private Integer totalOrders;
    
    @JsonProperty("completedOrders")
    @Schema(description = "已完成工单", example = "65")
    private Integer completedOrders;
    
    @JsonProperty("abnormalOrders")
    @Schema(description = "在途异常工单", example = "10")
    private Integer abnormalOrders;
    
    @JsonProperty("otherOrders")
    @Schema(description = "在途其他工单", example = "68")
    private Integer otherOrders;
}
